import { instance } from "../utils/request";
const getVarifysPagination = async (params) => {
	return await instance.get("/Varifys/Pagination", params);
};

const addVarifys = async (data) => {
	return await instance.post("/Varifys/Add", data);
};

const updateVarifys = async (data) => {
	return await instance.post("/Varifys/Update", data);
};

const getVarifysDetail = async (id) => {
	return await instance.get("/Varifys/Detail", { id : id });
};

const deleteVarifys = async (id) => {
	return await instance.post("/Varifys/Delete", { id : id });
};

const varifysApi = {
	getVarifysPagination,
	addVarifys,
	updateVarifys,
	getVarifysDetail,
	deleteVarifys,
};

export default varifysApi
